/*
 * Device.h
 *
 *  Created on: 2011. 3. 15.
 *      Author: JeeHoon
 */
#ifndef DEVICE_H
#define DEVICE_H

#include <FBase.h>
#include "Common.h"
#include "api/Plugin.h"


class PluginManager;

class Device :
	public Plugin
{
public:
	Device();
	~Device();

	/* Plugin */
	virtual result OnConstruct(PluginManager * pPluginManager, Osp::Base::String pluginName);
	virtual result execute(Osp::Base::String action, Osp::Base::String args, Osp::Base::String callbackId);

	result setDeviceInfo();

private:
	bool 				isInitInfo;

	Osp::Base::String	__name;
	Osp::Base::String	__phonegap;
	Osp::Base::String	__platform;
	Osp::Base::String	__platformVersion;
	Osp::Base::String	__uuid;
};

#endif //DEVICE_H
